import service from '@/utils/request'

const OrderSplitApi = {
  orderSplitList:function(data){
    return service.get('orderSplit/page', {params:data})
  },
  getOrderSplit(data){
    return service.get('orderSplit', {params:data})
  },
  splitExcel(data){
    return service.get('orderSplit/splitExcel', {params:data,responseType:'blob'})
  },
  resetSplit(data){
    return service.put('orderSplit/resetSplit', data)
  },
}

export default OrderSplitApi